<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>主页</title>
<script type="text/javascript">
	 function zhuxiao() {
		window.location="login.jsp"
	}	 
</script>
<style type="text/css">
.btn {
     position: absolute;
      transform: translate(680px, 0px);  /*更改button位置 */
      width: 150px;   /*button宽*/
      height: 60px;  /* button高*/
      line-height: 60px;   /*button文字位置，和height一样是在中间*/
      text-align: center;
      color: #fff;
      font-size: 24px;
      text-transform: uppercase;
      text-decoration: none;
      font-family: sans-serif;
      box-sizing: border-box;
      background: linear-gradient(90deg, #03a9f4, #f441a5, #ffeb3b, #03a9f4);
      background-size: 400%;
      border-radius: 60px;
      z-index: 1;
    }
    
    .btn:hover {
      animation: animate 8s linear infinite;
    }
    
    @keyframes animate {
      0% {
        background-position: 0%;
      }
      100% {
        background-position: 400%;
      }
    }
    
    .btn::before {
      content: '';
      position: absolute;
      top: -5px;
      left: -5px;
      right: -5px;
      bottom: -5px;
      z-index: -1;
      background: linear-gradient(90deg, #03a9f4, #f441a5, #ffeb3b, #03a9f4);
      background-size: 400%;
      border-radius: 40px;
      opacity: 0;
      transition: 0.5s;
    }
    
    .btn:hover::before {
      filter: blur(20px);
      opacity: 1;
      animation: animate 8s linear infinite;
    }
    </style>
<style type="text/css">
	body {
		background-image: url(image/003.jpg);
		 background-attachment: fixed"
	}

	table{	
  		border-collapse: collapse;
		margin: auto; <!--居中-->		
  }

	table, td, th{
  		border:1px solid black;
  		text-align:center;
  		background:FFFFF0;
		width:300px;
		border-radius:30px;	
		height: 50px;	
		border:0px solid #a1a1a1;	<!--表格边线-->
  }
  h3{
  	color: #F8F8FF;
  }
  * {
	margin:0;
	padding:0;
}
.login-now {
	margin-top:50px;
	margin-left: 680px;
}
.login-now li {
	list-style-type:none;
	margin:30px;
}
.login-now li a {
	text-decoration:none;
	color:#F8F8FF;
	transition:0.3s;
}
.login-now li a:hover {
	font-size:50px;
	color:red;
}
  
	</style>
</head>
<body>
	<h3 >欢迎你：${user.name},访问本网站</h3>
	<div class="login-now">
    <ul>
        <li><a href="grade?method=selfGrade">显示个人成绩</a></li>
        <li><a href="grade?method=selfClassGrade">显示班级成绩</a></li>
        <li><a href="password?method=studentPassword">修改密码</a></li>
    </ul>
</div>
	<div>
<!-- 		<table border="1"> -->
<!-- 			<tr> -->
<!-- 				<td><a href="grade?method=selfGrade">显示个人成绩</a></td> -->
<!-- 			</tr> -->
<!-- 			<tr> -->
<!-- 				<td><a href="grade?method=selfClassGrade">显示班级成绩</a></td> -->
<!-- 			</tr> -->
<!-- 			<tr> -->
<!-- 				<td><a href="password?method=studentPassword">修改密码</a></td> -->
<!-- 			</tr> -->
<!-- 			<tr> -->
			
<!-- 			<td> -->
			<button onclick="zhuxiao()" class="btn">注销</button>	
<!-- 			</td> -->
<!-- 			</tr> -->
<!-- 		</table> -->
		
	</div>
	
</body>
</html>